@grid-columns: 24; // 总列数
@grid-gutter-width: 0px; // 栅格间距

.li-row {
    display: flex;
    margin-left: -@grid-gutter-width;
    margin-right: -@grid-gutter-width;
}

.li-col {
    position: relative;
    width: 100%;
    padding-left: @grid-gutter-width;
    padding-right: @grid-gutter-width;
    // flex-basis: calc(50% - 20px);
}

.li-col(@index) when (@index > 0) {
    .li-col-@{index} {
        width: percentage((@index / @grid-columns));
    }
    .li-col(@index - 1);
}

.li-col(@grid-columns);
